package com.ruoyi.reportsnhnt.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 普通混凝土配合比设计试验检测报告子业务对象 report_snhnt_phbsjsybg_ba_detail
 *
 * @author zxs
 * @date 2024-08-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportSnhntPhbsjsybgBaDetailBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 报告表id
     */
    @NotNull(message = "报告表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品规格/牌号
     */
    @NotBlank(message = "样品规格/牌号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpggph;

    /**
     * 生产厂家/产地
     */
    @NotBlank(message = "生产厂家/产地不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shengccjcd;

    /**
     * 进场日期
     */
    @NotBlank(message = "进场日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jincrq;

    /**
     * 样品数量
     */
    @NotBlank(message = "样品数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsl;

    /**
     * 密度(kg/m³)
     */
    @NotBlank(message = "密度(kg/m³)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mid;


}
